package com.itlzh.mall.common.dto;

import com.itlzh.mall.common.entity.UserReceiveAddress;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@NoArgsConstructor
@ToString
public class UserReceiveAddressDTO extends UserReceiveAddress implements Serializable {
    private static final long serialVersionUID = 1L;
    private String receiveAddress;
    public String getReceiveAddress(){
        return getProvince() + getCity() + getRegion() + getDetailAddress();
    }
}
